package cn.ronghuanet.org.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ShopRegisterDTO {

    @NotBlank(message = "{ronghua.shop.register.name.blank.message}")
    private String name;

    @NotBlank(message = "{ronghua.shop.register.tel.blank.message}")
    private String tel;

    @NotBlank(message = "{ronghua.shop.register.address.blank.message}")
    private String address;

    private String logo;
    private Double lon; // 经度
    private Double lat; // 纬度

    @NotNull
    private ShopAdminDTO admin;

}
